import request from '@/utils/request'

// 查询业务订单列表
export function listSysOrder(query) {
  return request({
    url: '/order/SysOrder/list',
    method: 'get',
    params: query
  })
}

// 查询业务订单详细
export function getSysOrder(orderID) {
  return request({
    url: '/order/SysOrder/' + orderID,
    method: 'get'
  })
}

// 新增业务订单
export function addSysOrder(data) {
  return request({
    url: '/order/SysOrder',
    method: 'post',
    data: data
  })
}

// 修改业务订单
export function updateSysOrder(data) {
  return request({
    url: '/order/SysOrder',
    method: 'put',
    data: data
  })
}

// 删除业务订单
export function delSysOrder(orderID) {
  return request({
    url: '/order/SysOrder/' + orderID,
    method: 'delete'
  })
}
